package mysql

import "gorm.io/gorm"

type Sport struct {
	gorm.Model
	Image     string `gorm:"type:varchar(150);not null; commit:'活动图片'"`
	Name      string `gorm:"type:varchar(120);not null; commit:'活动名称'"`
	Writer    string `gorm:"type:varchar(100);not null; commit:'活动发布人'"`
	ClassName string `gorm:"type:varchar(150);not null; commit:'分类名称'"`
	Num       int64  `gorm:"type:int(100);not null; commit:'活动人数'"`
	UserId    int64  `gorm:"type:int(100);not null; commit:'用户'"`
}
